Control device

ABSTRACT

A control device is provided which mixes and outputs two types of audio signals processed under standards different from each other; in particular, an audio signal of ASIO standard and an audio signal of WDM standard. An audio interface is connected to a computer, and an audio signal is input to the computer. A mixer module of the computer mixes an audio signal which is effect-processed by an ASIO application and an audio signal reproduced by a WDM application, outputs the mixed audio signal to the audio interface, and also outputs the mixed audio signal to the WDM application and records the sound. In each step of the process, double buffering is used to reduce sound drop-out.

CROSS REFERENCE TO RELATED APPLICATION

The entire disclosure of Japanese Patent Application No. 2016-009227 filed on Jan. 20, 2016, including the specification, claims, drawings, and abstract, is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present disclosure relates to a control device having a function of mixing an audio signal.

BACKGROUND

In the related art, control devices, such as a personal computer, for editing and processing an audio signal have been proposed. Japanese Patent No. 3896810 discloses a control device comprising: an audio signal unit including a plurality of input ports which are connected to external acoustic devices, a sound chip that has at least a microphone input terminal and a line input terminal, and a selector that connects one of the input ports to at least one of the microphone input terminal and the line input terminal based on a selection signal; a display; and a controller that is realized by an operating system including a device driver and a main CPU and that produces a selection signal and outputs the selection signal to the selector. The controller displays, in a state where an external acoustic device is connected to one of the input ports of the audio signal unit, adjusters for adjusting at least sound volume levels of the microphone signal and the line signal; produces, when the sound volume level adjuster of the microphone signal is operated among the displayed adjusters, a selection signal to instruct selection of the microphone input terminal as the terminal to be connected; and produces, when the sound volume level adjuster of the line signal is operated, a selection signal to instruct selection of the line input terminal as the terminal to be connected.

As standards provided for an application API for inputting and outputting an audio signal, ASIO (Audio Stream Input Output) and WDM (Windows Driver Model) are used. In particular, ASIO is widely in use as a standard having a small latency (delay of the audio signal). For example, an application for executing an effect process may be launched as an application corresponding to the ASIO, a desired effect process may be applied on the audio signal which is input from the microphone input terminal, and the resulting signal may be output.

Meanwhile, there are a certain number of users, for example, who wish to launch an application corresponding to WDM to reproduce (play back) music and perform along with the music; that is, to enjoy karaoke. In this case, because an audio signal of the ASIO application and an audio signal of the WDM application would exist in a mixed manner, these audio signals must be processed.

In the combination of the audio interface and the computer (personal computer or the like) of the related art, the music data reproduced by the WDM application of the computer is input to the audio interface, and is output to the outside from the audio interface. The audio signal which is input from the microphone input terminal is output to the computer and mixed with the music data in the computer, and the mixed signal is output. When the mixed audio signal is returned from the audio interface to the computer for recording the mixed audio signal, a loop is created, and so-called howling is caused.

In addition, when both an audio signal of the ASIO application and an audio signal of the WDM application are processed, if buffering of data cannot be appropriately executed in each step of the process, data may become insufficient at the final stage of the processes, and there is a possibility of sound drop-out being caused.

SUMMARY

An advantage of the present disclosure lies in the provision of a control device which can mix and output two types of audio signals processed under standards different from each other; in particular, an audio signal of the ASIO standard and an audio signal of the WDM standard, and which can reduce sound drop-outs.

According to one aspect of the present disclosure, there is provided a control device comprising: an input/output unit that inputs and outputs a first audio signal of a first standard; a first processor that processes the first audio signal of the first standard; a second processor that processes a second audio signal of a second standard; a mixing processor that supplies the first audio signal which is input from the input/output unit to the first processor, receives the first audio signal processed by the first processor, receives the second audio signal processed by the second processor, produces a mixed audio signal by adding the received first audio signal and the received second audio signal, and outputs the mixed audio signal to the input/output unit; a first buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region; a second buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region; and a third buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region, wherein, at a certain control timing: the input/output unit outputs, when the first audio signal is input to the input region of the first region of the first buffer memory, a process start notification to the mixing processor, and stores, in the input region of the second region of the second buffer memory, the first audio signal stored in the input region of the first region of the first buffer memory; the mixing processor outputs, when the first audio signal is input to the input region of the second region of the second buffer memory, a process start notification to the first processor, and stores, in the input region of the first region of the third buffer memory, the first audio signal stored in the input region of the first region of the second buffer memory, and, in parallel to this process, outputs a process completion notification to the input/output unit, and stores, in the output region of the first region of the first buffer memory, the processed first audio signal stored in the output region of the second region of the second buffer memory; and the first processor processes the first audio signal when the first audio signal is input to the input region of the first region of the third buffer memory, stores the resulting signal in the output region of the first region of the third buffer memory, outputs a process completion notification to the mixing processor, and stores, in the output region of the first region of the second buffer memory, the processed first audio signal stored in the output region of the first region of the third buffer memory, and, at a next control timing: the input/output unit outputs, when the first audio signal is input to the input region of the second region of the first buffer memory, a process start notification to the mixing processor, and stores, in the input region of the first region of the second buffer memory, the first audio signal stored in the input region of the second region of the first buffer memory; the mixing processor outputs, when the first audio signal is input to the input region of the first region of the second buffer memory, a process start notification to the first processor, and stores, in the input region of the second region of the third buffer memory, the first audio signal stored in the input region of the second region of the second buffer memory, and, in parallel to this process, outputs a process completion notification to the input/output unit, and stores, in the output region of the second region of the first buffer memory, the processed first audio signal stored in the output region of the first region of the second buffer memory; and the first processor processes the first audio signal when the first audio signal is input to the input region of the second region of the third buffer memory, stores the resulting signal in the output region of the second region of the third buffer memory, outputs a process completion notification to the mixing processor, and stores, in the output region of the second region of the second buffer memory, the processed first audio signal stored in the output region of the second region of the third buffer memory.

According to another aspect of the present disclosure, the first processor applies an effect process on the first audio signal, and the second processor reproduces the second audio signal.

According to another aspect of the present disclosure, the first standard is the ASIO (Audio Stream Input Output) standard, the first audio signal is an ASIO audio signal, the second standard is the WDM (Windows Driver Model) standard, and the second audio signal is a WDM audio signal.

According to yet another aspect of the present disclosure, the first processor, the second processor, and the mixing processor are one or more processors.

According to various aspects of the present disclosure, two types of audio signals processed under standards different from each other; in particular, an audio signal of the ASIO standard and an audio signal of the WDM standard, can be mixed, and the sound drop-out can be reduced.

BRIEF DESCRIPTION OF DRAWINGS

Embodiment(s) of the present disclosure will be described by reference to the following figures, wherein:

FIG. 1 is a block diagram of an embodiment of the present disclosure;

FIG. 2 is an equivalent circuit diagram of a mixer module in the embodiment of the present disclosure;

FIG. 3 is an explanatory diagram of an operation panel of the embodiment of the present disclosure;

FIG. 4 is a process flowchart of the embodiment of the present disclosure;

FIG. 5 is a system structural diagram of the embodiment of the present disclosure;

FIG. 6 is a structural diagram of a buffer memory in the embodiment of the present disclosure;

FIG. 7A is a first explanatory diagram of an operation of the buffer memory in the embodiment of the present disclosure;

FIG. 7B is a second explanatory diagram of an operation of the buffer memory in the embodiment of the present disclosure;

FIG. 7C is a third explanatory diagram of an operation of the buffer memory in the embodiment of the present disclosure;

FIG. 7D is a fourth explanatory diagram of an operation of the buffer memory in the embodiment of the present disclosure; and

FIG. 7E is a fifth explanatory diagram of an operation of the buffer memory in the embodiment of the present disclosure.

DESCRIPTION OF EMBODIMENTS

An embodiment of the present disclosure will now be described with reference to the drawings.

A basic principle of the present embodiment will first be described.

In the present embodiment, a first audio signal of a first standard and a second audio signal of a second standard, the first and second standards being different from each other, co-exist in a same computer, processing of the first audio signal is enabled, and, at the same time, mixing of the first audio signal and the second audio signal is enabled.

Specifically, the first audio signal is processed by a driver of the first standard and an application of the first standard, but, normally, the second audio signal, which is produced by a driver of a second standard different from the first standard and an application of the second standard, cannot be processed by the driver of the first standard and the application of the first standard.

In consideration of this, in the present embodiment, a mixer module or a mixer driver which expands the function of the driver of the first standard is newly installed in the computer, and, with the mixer driver, exchange of the audio signal is enabled between the driver and application of the first standard and the driver and application of the second standard. The mixer module has two selection modes including a first mode and a second mode. When the first mode is selected, the mixer module provides the first audio signal from the driver of the first standard to the application of the first standard, and outputs, from an output terminal, the first audio signal which is processed (for example, effect process) by the application of the first standard. When the second mode is selected, the mixer module launches, in parallel with the processing of the first audio signal, an application of the second standard to reproduce the second audio signal, inputs the second audio signal via a driver of the second standard, adds the processed first audio signal and the reproduced second audio signal to produce a mixed audio signal, and outputs the mixed audio signal from the output terminal. Further, when the second mode is selected, the mixer module supplies the mixed audio signal to the application of the second standard via the driver of the second standard as necessary, and executes processes such as sound recording. The mixer module processes the first audio signal and processes the second audio signal, and mixes the first audio signal and the second audio signal.

The mixer module thus co-operates with an operating system (OS) of the computer, the driver of the first standard, and the driver of the second standard, and has functions:

to receive the first audio signal from the driver of the first standard;

to supply the first audio signal to the application of the first standard;

to supply to the driver of the first standard the first audio signal which is processed by the application of the first standard;

to receive the second audio signal from the driver of the second standard;

to add and mix the first audio signal and the second audio signal; and

to supply the mixed audio signal to the driver of the second standard.

By having such functions, the computer can mix two types of audio signals processed under standards different from each other, and output or record the mixed signal.

The application of the second standard for reproducing the second audio signal and the application of the second standard for recording the mixed audio signal may be the same or different from each other. For example, the second audio signal may be reproduced by an application dedicated for reproduction, and the mixed audio signal may be recorded by an application dedicated for sound recording.

The mixer module or the mixer driver may be considered to be a device driver bundled to an audio interface connected to the computer when the audio signal is input to the computer via the audio interface for producing music. The device driver may be distributed on a recording medium such as a CD-ROM along with the audio interface, or via the Internet.

Next, an example configuration will be described in which the first standard is ASIO (Audio Stream Input Output) and the second standard is WDM (Windows Driver Model).

FIG. 1 is a block diagram of a control device according to the present embodiment. The control device specifically is formed with a computer 10, such as a personal computer (PC), comprising a CPU, a ROM, a RAM, and a memory.

The computer 10 includes a first ASIO driver 14, a second ASIO driver 15, a WDM driver 16, a mixer module 18, an ASIO application 20, a WDM application 22, and an operation panel 24. The ASIO driver 14, the ASIO driver 15, the WDM driver 16, the mixer module 18, the ASIO application 20, and the WDM application 22 are programs executed by the CPU, and the operation panel 24 is displayed on a display when the CPU executes the mixer module 18.

An audio interface 12 is connected to the computer 10 by, for example, a USB or the like. The audio interface 12 includes a microphone input terminal, an audio input/output terminal, and an amplifier. In the audio interface 12, an audio signal is input from the microphone input terminal, amplified, and output to the computer 10, and an audio signal is input from the computer 10, and output from the audio output terminal.

The ASIO driver 14, the ASIO driver 15, and the ASIO application 20 are program modules which process an audio signal according to the ASIO standard, and are installed in advance in a program memory such as a ROM or a hard disk drive, or are downloaded from a predetermined server via the Internet and installed. An example of the ASIO application 20 is a program which applies an effect process on the audio signal. The effect process includes a noise removal process, a reverb process, a volume process, a delay (echo) process, a high-pass process, a low-pass process, an inversion process, an equalizing process, or the like. An audio signal which is processed according to the ASIO standard will be hereinafter referred to as an ASIO audio signal.

The WDM driver 16 and the WDM application 20 are program modules which process an audio signal according to the WDM standard. An example of the WDM application 22 is a music reproduction program or a sound recording program, and includes Windows Media Player or the like. An audio signal which is processed according to the WDM standard will be hereinafter referred to as a WDM audio signal.

The mixer module 18 is provided between the ASIO driver 14, the ASIO driver 15, and the WDM driver 16, and integrally processes the ASIO audio signal and the WDM audio signal. Specifically, the mixer module 18 has, in addition to functions to individually process the ASIO audio signal and the WDM audio signal, a function to mix the ASIO audio signal and the WDM audio signal. The mixer module 18 is downloaded and installed from a predetermined server via the Internet, as a device driver bundled to the audio interface 12. Desirably, the WDM driver 16 is downloaded and installed along with the mixer module 18, and the same installer includes both the mixer module 18 and the WDM driver 16. The WDM driver 16 outputs the WDM audio signal to the mixer module 18, and supplies the ASIO audio signal or the mixed audio signal from the mixer module 18 to the WDM application 22, and co-operates with the mixer module 18.

The operation panel 24 is a panel displayed on the display of the computer 10, and sets a function of the mixer module 18. In the present embodiment, a mode can be switched between a DAW mode and a BROADCAST/KARAOKE mode by the operation panel 24. In the DAW mode, the mixer module 18 processes the input ASIO audio signal with the ASIO application 20, and outputs the processed ASIO audio signal to the outside. That is, the mixer module 18 receives input of the ASIO audio signal from the ASIO driver 14, and supplies the ASIO audio signal to the ASIO application 20, and, at the same time, receives input of the ASIO audio signal processed by the ASIO application 20 from the ASIO driver 15. The mixer module 18 further receives, from the WDM driver 16, input of the WDM audio signal reproduced by launching the WDM application 22, and adds and mixes the processed ASIO audio signal and the WDM audio signal. The mixer module 18 supplies the mixed audio signal to the ASIO driver 14, supplies the processed ASIO audio signal to the WDM driver 16 without further processing, and records the signal with the WDM application 22 according to the setting.

On the other hand, in the BROADCAST/KARAOKE mode, the mixer module 18 processes the input ASIO audio signal with the ASIO application 20, adds and mixes the WDM audio signal reproduced by the WDM application 22 to the ASIO audio signal, and outputs the mixed audio signal to the outside or records in the memory or the like with the WDM application 22. That is, the mixer module 18 receives input of the ASIO audio signal from the ASIO driver 14, and supplies the ASIO audio signal to the ASIO application 20, and, at the same time, receives input of the ASIO audio signal processed by the ASIO application 20 from the ASIO driver 15. The mixer module 18 further receives, from the WDM driver 16, input of the WDM audio signal reproduced by launching the WDM application 22, and adds and mixes the WDM audio signal to the processed ASIO audio signal. The mixer module 18 supplies the mixed audio signal to the ASIO driver 14 and to the WDM driver 16, and records the signal with the WDM application 22 according to the setting.

In the related art, even when the ASIO driver 14, the ASIO driver 15, and the ASIO application 20; and the WDM driver 16 and the WDM application 22 are installed on the computer 10, the drivers and applications individually and independently process the audio signal. For example, the ASIO application 20 is launched, the effect process is applied on the audio signal which is input from the microphone input terminal, and the resulting signal is output from the audio output terminal, or the WDM application 22 is launched and the music data stored in the memory are reproduced and output. Thus, it has not been possible to mix and output the ASIO audio signal and the WDM audio signal. As described above, even if the signals are mixed, when the mixed audio signal is again returned to the computer in order to record the mixed audio signal, a loop is created and howling is caused. As a result, the signal must be output to and recorded on another computer or sound recording device.

In contrast, in the present embodiment, the mixer module 18 mixes the ASIO audio signal and the WDM audio signal, and an audio signal for sound recording is supplied to the WDM driver 16 separately from the audio signal which is reproduced, and the WDM application 22 receives the audio signal for sound recording from the WDM driver 16 and records the sound. Therefore, the mixed audio signal can be recorded in the same computer 10 without the loop on the hardware being created and howling being caused.

The mixer module 18 can, in addition to outputting the ASIO audio signal to the outside via the ASIO driver 14, supply the ASIO audio signal to the WDM application 22 via the WDM driver 16 similarly to the case of the mixed audio signal. Thus, it is also possible to supply the ASIO audio signal to the WDM application 22 in the DAW mode and to record the sound.

FIG. 2 is an equivalent circuit diagram of the mixer module 18. As described above, the mixer module 18 is a program module, and FIG. 2 shows the functions as an equivalent circuit structure. The functions of FIG. 2 are realized, on the hardware, by the CPU, with the operating system (OS) of the computer, and the mixer module 18.

The mixer module 18 includes faders L1L, L1R, L2L, L2R, L3L, and L3R, switches S1˜S7, and adders 18 a and 18 b.

An ASIO audio signal from the audio interface 12 is supplied to the faders L1L and L1R via the ASIO driver 14. The fader L1L corresponds to a microphone input terminal 1 of the audio interface 12, and the fader L1R corresponds to a microphone input terminal 2 of the audio interface 12. The fader L1L adjusts the level of the input ASIO audio signal and supplies the same to the switches S1 and S2. The fader L1R adjusts the level of the input ASIO audio signal, and supplies the same to the switches S3 and S4.

The switches S1˜S4 are input assignment switches, and determine which of the ASIO audio signals from the microphone input terminals 1 and 2 are to be assigned to the L channel and to the R channel. Specifically, the switch S1 is switched ON when the microphone input terminal 1 is to be assigned to the L channel, the switches S1 and S2 are switched ON when the microphone input terminal 1 is to be assigned to the L channel and the R channel, the switch S3 is switched ON when the microphone input terminal 2 is to be assigned to the L channel, and the switches S3 and S4 are switched ON when the microphone input terminal 2 is to be assigned to the L channel and the R channel. Further, the switches S1 and S4 are switched ON when the microphone input terminal 1 is to be assigned to the L channel and the microphone input terminal 2 is to be assigned to the R channel, and the switches S2 and S3 are switched ON when the microphone input terminal 1 is to be assigned to the R channel and the microphone input terminal 2 is to be assigned to the L channel.

The switch S5 is a bypass switch, is switched ON when the ASIO application 20 does not exist, and is switched OFF when the ASIO application 20 exists and the effect process is to be applied by the ASIO application. Alternatively, the switch S5 may be switched ON also when the ASIO application 20 exists, but the effect process is not to be applied. When the switch S5 is switched OFF, the ASIO audio signals of the L channel and the R channel are supplied as ASIO IN from the mixer module 18 to the ASIO application 20 via the second ASIO driver 15, various effect processes which are already described are executed, and the processed ASIO audio signal is input to the mixer module 18 as ASIO OUT. The processed ASIO audio signal or the ASIO audio signal which is bypassed by the switch S5 being switched ON is supplied to the adders 18 a and 18 b.

The WDM audio signal which is reproduced by the WDM application 22 is supplied to the faders L2L and L2R via the WDM driver 16. The faders L2L and L2R adjust the level of the input WDM audio signal, and supply the resulting signal to the adders 18 a and 18 b.

The adders 18 a and 18 b add and mix the ASIO audio signal which is effect-processed or which is not effect-processed and the WDM audio signal, and output the resulting signal to the audio interface 12 via the ASIO driver 14. When the WDM audio signal does not exist, the adders 18 a and 18 b do not mix, or mix a silent sound, and output the ASIO audio signal without further processing.

The switch S6 is a switch for recording the mixed audio signal, and is switched ON when recording the sound. When the switch S6 is switched ON, the mixed audio signal from the adders 18 a and 18 b is supplied to the faders L3L and L3R. The faders L3L and L3R adjust the level of the mixed audio signal, and supply the resulting signal to the WDM application 22 via the WDM driver 16. The WDM application 22 records the sound by recording the mixed audio signal in a recording medium such as a semiconductor memory or a hard disk drive.

The switch S7 is a switch for recording the ASIO audio signal without processing, and is switched ON during sound recording. When the switch S7 is switched ON, the ASIO audio signal is supplied to the faders L3L and L3R without being added in the adders 18 a and 18 b. The faders L3L and L3R adjust the level of the ASIO audio signal, and supply the resulting signal to the WDM application 22 via the WDM driver 16. The WDM application 22 records the sound by recording the ASIO audio signal on a recording medium such as a semiconductor memory or a hard disk drive.

The switches S6 and S7 are linked, and one of the switches is selectively switched ON. That is, when the switch S6 is switched ON, the switch S7 is switched OFF, and when the switch S7 is switched ON, the switch S6 is switched OFF.

FIG. 3 shows an example configuration of the operation panel 24 displayed on the display of the computer 10. On the operation panel 24, in addition to a sampling rate, a mode selection switch 24 a, a monitor setting switch 24 b, and an audio input setting switch 24 c are displayed, and a user can input a desired mode and setting.

The mode selection switch 24 a is a switch for selectively selecting one of the DAW mode and the BROADCAST/KARAOKE mode. When the DAW mode is selected, as already described, the mixer module 18 supplies the ASIO audio signal from the ASIO driver 14 to the ASIO application 20 via the ASIO driver 15, adds and mixes the WDM audio signal with the ASIO audio signal which is processed by the ASIO application 20 and input from the ASIO driver 15, and outputs the resulting signal to the ASIO driver 14. Alternatively, in the DAW mode, the mixer module 18 may supply the ASIO audio signal processed by the ASIO application 20 to the WDM application 22 via the WDM driver 16 and record the sound. When the BROADCAST/KARAOKE mode is selected, the mixer module 18 mixes the ASIO audio signal which is processed (or which is not processed) by the ASIO application and the WDM audio signal reproduced by the WDM application 22, outputs the resulting signal to the ASIO driver 14, and supplies the resulting signal in parallel to the WDM application 22 via the WDM driver 16 and records sound. In the case of BROADCAST, the WDM application 22 distributes the mixed audio signal via the Internet. In either case of sound recording and distribution via the Internet, the mixed audio signal is simultaneously output to the audio interface 12, and is output from the audio output terminal of the audio interface 12. Thus, the user can monitor the mixed audio signal with headphones or the like.

The monitor setting switch 24 b is a switch for setting whether each of the microphone input terminals 1 and 2 is to be assigned to monaural or stereo.

The audio input setting switch 24 c is a switch for selecting availability/unavailability of the microphone input terminals 1 and 2.

FIG. 4 is an overall process flowchart of the present embodiment, and shows a process executed by the CPU of the computer 10. The CPU functions as a first processor, a second processor, and a mixing processor.

The CPU, upon reading and executing the mixer module 18, first displays the operation panel 24 shown in FIG. 3 on the display (S101). The user operates the operation panel to set the mode, the monitor setting, and the audio input (S102).

Next, the CPU determines whether the set mode is the DAW mode or the BROADCAST/KARAOKE mode (S103). When the mode is the DAW mode, the CPU receives input of the ASIO audio signal from the ASIO driver 14, and executes effect processes such as echo (S104 a) by an ASIO application 20 launched by the user (which may alternatively be automatically launched with the execution of the mixer module 18). In parallel to this process, the CPU launches the WDM application 22 to reproduce the WDM audio signal (S104 b), and produces a mixed audio signal by adding the ASIO audio signal obtained in S104 a and the WDM audio signal obtained in S104 b (S109). The CPU then outputs the produced mixed audio signal to the audio interface 12 (S110), and supplies the data to the WDM application 22 so that the processed ASIO audio signal can be recorded by recording on a semiconductor memory, a hard disk drive, or the like (S105). When the ASIO application 20 does not exist, the CPU bypass-processes the ASIO audio signal without executing the effect process, and outputs the ASIO audio signal to the audio interface 12. The process of the ASIO audio signal of S104 includes such a bypass process.

On the other hand, when it is determined in S103 that the mode is the BROADCAST/KARAOKE mode, the CPU receives input of the ASIO audio signal from the ASIO driver 14, and, when execution of the effect process is selected, executes any effect process such as echo (S106 a) by the ASIO application 20 which is launched by the user (or automatically launched with execution of the mixer module 18). When the execution of the effect process is not selected, the CPU bypass-processes the signal in S106 a. In addition, in parallel to this process, the CPU launches the WDM application 22 and reproduces the WDM audio signal (S106 b), and produces a mixed audio signal by adding the ASIO audio signal obtained in S106 a and the WDM audio signal obtained in S106 b (S107). Alternatively, a configuration may be employed in which, during mixing, the level of the ASIO audio signal and the level of the WDM audio signal can be independently adjusted. The CPU outputs the produced mixed audio signal to the audio interface 12. In addition, the CPU launches the WDM application 22, and records the mixed audio signal by recording on a semiconductor memory, a hard disk drive, or the like, or distributes the same via the Internet (S108).

As described, in the present embodiment, the ASIO and the WDM audio signals co-exist in the same computer 10, the ASIO audio signal and the WDM audio signal can be integrally processed, and the audio signals can be mixed and output or recorded. In the present embodiment, because the signal process is processed as software in a program, there is no need for adding or changing the hardware, and a desired process can be realized solely by the setting using the operation panel 24.

In the present embodiment, as shown in FIG. 1, the ASIO driver 14, the ASIO driver 15, the mixer module 18, and the WDM driver 16 are shown as separate program modules, but alternatively, these program modules may be provided as a single program; that is, a monolithic program module, from a server on the Internet. In consideration of ASIO, the mixer module 18 may be considered to be a module or a plugin for expanding the function of the ASIO driver 14 of the related art; that is, a program module of a hierarchical structure, and the mode selection switch 24 a of the operation panel 24 shown in FIG. 3 may be considered to be a switch for selecting execution/non-execution of the plugin.

Further, in the present embodiment, the DAW mode is exemplified as the first mode and the BROADCAST/KARAOKE mode is exemplified as the second mode. However, the present disclosure is not limited to such a configuration, and, for example, a mixing non-execution mode may be employed as the first mode and the mixing mode may be employed as the second mode. In other words, the device may include two modes that can be selectively chosen, wherein in one mode the mixing is not executed and the ASIO audio signal is output, and in the other mode the ASIO audio signal and the WDM audio are mixed.

The mixer module 18 or the like of the present embodiment is provided to the computer 10 via a communication line such as the Internet, but alternatively, the mixer module 18 or the like may be stored in a recording medium such as a CD-ROM or a DVD-ROM, and installed on the computer 10 via the recording medium. The CPU of the computer 10 executes the above-described functions by reading and executing the mixer module 18 or the like stored in a program memory.

FIG. 5 shows a specific example configuration of a system structure of the present embodiment. The computer 10 comprises a CPU, a ROM, a RAM, a semiconductor memory, an input/output interface (I/F), a communication interface (I/F), and a display. An example of the input/output I/F is the USB. The audio interface 12 and the computer 10 are connected to each other by the input/output I/F. The ROM stores programs such as the ASIO driver 14, the ASIO driver 15, the WDM driver 16, the mixer module 18, the ASIO application 20, and the WDM application 22. The ASIO driver 14, the ASIO driver 15, the WDM driver 16, and the mixer module 18 are downloaded from a server on the Internet connected via the communication I/F. The CPU functions as the first processor, the second processor, and the mixing processor, and executes the processing shown in FIG. 4 by reading various programs stored in the ROM. The CPU displays the operation panel 24 on the display and accepts a mode selection signal, and executes the mixing process according to the mode selection signal. The CPU outputs the produced mixed audio signal to the audio interface 12, and records the produced mixed audio signal on the semiconductor memory for sound recording. The semiconductor memory may be connected externally to the computer 10. Alternatively, the produced mixed audio signal may be distributed via the Internet.

In the BROADCAST/KARAOKE mode, a sequence of a pipeline process is executed in which the audio signal is input from the microphone input terminal of the audio interface 12, amplified, A/D converted, and supplied to the computer 10, and the computer 10 executes the effect process by the ASIO application 20, and produces the mixed audio signal by adding the ASIO audio signal and the WDM audio signal. Because of this, in order to efficiently execute these processes, it is desirable to accelerate the data process using a double-buffer method (double buffering) in which buffering of the data is executed while switching between two buffer memories in each processing step.

Specifically, in view of the flow of the signal, the audio signal of FIG. 1 is transmitted in the following manner: audio interface 12→mixer module 18→ASIO application→mixer module 18→audio interface 12. Thus, it is desirable to exchange data using the double-buffer method in each of the processing steps at the audio interface 12, the processing steps at the mixer module 18, and the processing steps at the ASIO application 20.

Here, in the double-buffer method, a process start request is output from one processor to a next processor, a process start request is also output from the next processor to a subsequently next processor, and a notification when the process is completed is output in a direction opposite from that of the process start request. In each processor, the processes are sequentially executed, and thus, if the process is not completed within a predefined time period at a certain processor, the output data may become missing at the final output unit (audio interface 12), possibly resulting in sound drop-out.

In consideration of this, in the present embodiment, while the double-buffer method is employed, an output timing of the process completion notification is adjusted to reduce the possibility of occurrence of the sound drop-out.

FIG. 6 schematically shows a buffer memory structure in the present embodiment. Buffer memories 30, 32, and 34 are provided for each of the processing steps. For example, the buffer memory 30 is used for processing at the audio interface 12, the buffer memory 32 is used for the processing at the mixer module 18, and the buffer memory 34 is used for the processing at the ASIO application 20. Each of the buffer memories 30, 32, and 34 is divided into two buffer memories (memory regions) including a first region, #0, and a second region, #1. Each of the buffer memories of #0 and #1 is further divided into an input region (IN) and an output region (OUT). At least one of the buffer memories 30, 32, and 34 may be incorporated in the CPU shown in FIG. 5, or all of the buffer memories 30, 32, and 34 may be provided in the computer 10 separately from the CPU. Alternatively, the buffer memories 30, 32, and 34 may be configured as a part of the RAM. The buffer memory 30, 32, and 34 do not need to be physically separated, and a single buffer memory may function as the buffer memories 30, 32, and 34 by logically dividing the single buffer memory. The buffer memory 30 functions as a first buffer memory, the buffer memory 32 functions as a second buffer memory, and the buffer memory 34 functions as a third buffer memory.

FIGS. 7A˜7E show flow of data in the buffer memories 30, 32, and 34 at each control timing. Here, a configuration will be described in which an audio signal is sampled, and data A0, B0, C0, D0, E0, . . . are sequentially supplied to the buffer memory 30.

FIG. 7A shows states of the buffer memories 30, 32, and 34 at a certain control timing, t=1.

(1) First, the data A0 is input to #0 (IN) of the buffer memory 30, and the buffer memory 30 outputs a process start notification to the buffer memory 32, and outputs the data A0 to #1 (IN) of the buffer memory 32. The buffer memory 32 processes the data A0 input to #1 (IN) to produce data A1.

(2) Next, the buffer memory 32 outputs a process completion notification to the buffer memory 30, and outputs the data which is already processed and stored in #1 (OUT) to #0 (OUT) of the buffer memory 30. In parallel to this process, the buffer memory 32 outputs a process start notification to the buffer memory 34, and outputs the data which is already processed and stored in #0 (IN) to #0 (IN) of the buffer memory 34. That is, the buffer memory 32 executes in a parallel manner the processing of a process completion notification to the buffer memory 30 and the processing of a process start notification to the buffer memory 34.

(3) Then, the buffer memory 34 processes the data stored in #0 (IN), stores the resulting data in #0 (OUT), outputs a process completion notification to the buffer memory 32, and outputs the processed data to #0 (OUT) of the buffer memory 32.

FIG. 7B shows states of the buffer memories 30, 32, and 34 at a next control timing, t=2.

(4) The data B0 is input to #1 (IN) of the buffer memory 30, the buffer memory 30 outputs a process start notification to the buffer memory 32, and outputs the data B0 to #0 (IN) of the buffer memory 32. The buffer memory 32 processes the data B0 input to #0 (IN) to produce data B1.

(5) Next, the buffer memory 32 outputs a process completion notification to the buffer memory 30, and outputs the data which is already processed and stored in #0 (OUT) to #1 (OUT) of the buffer memory 30. In parallel to this process, the buffer memory 32 outputs a process start notification to the buffer memory 34, and outputs the data A1 which is already processed and stored in #1 (IN) to #1 (IN) of the buffer memory 34. That is, the buffer memory 32 executes in a parallel manner the processing of a process completion notification to the buffer memory 30 and the processing of a process start notification to the buffer memory 34.

(6) Then, the buffer memory 34 processes the data A1 stored in #1 (IN) to produce data A2, stores the resulting data in #1 (OUT) as data A3, outputs a process completion notification to the buffer memory 32, and outputs the processed data A3 to #1 (OUT) of the buffer memory 32 as data A4.

FIG. 7C shows states of the buffer memories 30, 32, and 34 at a next control timing, t=3.

(7) The data C0 is input to #0 (IN) of the buffer memory 30, the buffer memory 30 outputs a process start notification to the buffer memory 32, and outputs the data C0 to #1 (IN) of the buffer memory 32. The buffer memory 32 processes the data C0 input to #1 (IN), to produce data C1.

(8) Next, the buffer memory 32 outputs a process completion notification to the buffer memory 30, and outputs the data A4 which is already processed and stored in #1 (OUT) to #0 (OUT) of the buffer memory 30 as data A5. In parallel to this process, the buffer memory 32 outputs a process start notification to the buffer memory 34, and outputs the data B1 which is already processed and stored in #0 (IN) to #0 (IN) of the buffer memory 34 as data B2. That is, the buffer memory 32 executes in a parallel manner the processing of a process completion notification to the buffer memory 30 and the processing of a process start notification to the buffer memory 34.

(9) Then, the buffer memory 34 processes the data B2 stored in #0 (IN), stores the resulting data as data B3 in #0 (OUT), outputs a process completion notification to the buffer memory 32, and outputs the processed data B3 to #0 (OUT) of the buffer memory 32 as data B4.

FIG. 7D shows states of the buffer memories 30, 32, and 34 at a next control timing, t=4.

(10) The data D0 is input to #1 (IN) of the buffer memory 30, and the buffer memory 30 outputs a process start notification to the buffer memory 32 and outputs the data D0 to #0 (IN) of the buffer memory 32. The buffer memory 32 processes the data D0 input to #0 (IN), to produce data D1.

(11) Next, the buffer memory 32 outputs a process completion notification to the buffer memory 30, and outputs the data B4 which is already processed and stored in #0 (OUT) to #1 (OUT) of the buffer memory 30 as data B5. In parallel to this process, the buffer memory 32 outputs a process start notification to the buffer memory 34, and outputs the data C1 which is already processed and stored in #1 (IN) to #1 (IN) of the buffer memory 34 as data C2. That is, the buffer memory 32 executes in a parallel manner the processing of a process completion notification to the buffer memory 30 and the processing of a process start notification to the buffer memory 34.

(12) Then, the buffer memory 34 processes the data C2 stored in #1 (IN), stores the resulting data in #1 (OUT) as data C3, outputs a process completion notification to the buffer memory 32, and outputs the processed data C3 to #1 (OUT) of the buffer memory 32 as data C4.

FIG. 7E shows states of the buffer memories 30, 32, and 34 at a next control timing, t=5.

(13) The data E0 is input to #0 (IN) of the buffer memory 30, and the buffer memory 30 outputs a process start notification to the buffer memory 32, and outputs the data E0 to #1 (IN) of the buffer memory 32. The buffer memory 32 processes the data E0 input to #1 (IN) to produce data E1.

(14) Next, the buffer memory 32 outputs a process completion notification to the buffer memory 30, and outputs the data C5 which is already processed and stored in #1 (OUT) to #0 (OUT) of the buffer memory 30 as data C6. In parallel to this process, the buffer memory 32 outputs a process start notification to the buffer memory 34, and outputs the data D1 which is already processed and stored in #0 (IN) to #0 (IN) of the buffer memory 34 as data D2. That is, the buffer memory 32 executes in a parallel manner the processing of a process completion notification to the buffer memory 30 and the processing of a process start notification to the buffer memory 34.

(15) Then, the buffer memory 34 processes the data D2 stored in #0 (IN), stores the resulting data in #0 (OUT) as data D3, outputs a process completion notification to the buffer memory 32, and outputs the processed data D3 to #0 (OUT) of the buffer memory 32 as data D4.

As described above, with regard to the buffer memory 32, the buffer memory 32 is configured to output the process completion notification to the buffer memory 30 and output the data to the buffer memory 30, and, in parallel to this process, output the process start notification to the buffer memory 34 and output the data to the buffer memory 34. Because of this, the data can be more smoothly exchanged among the buffer memories 30, 32, and 34 as compared to the configuration of the related art in which the process start notification is output to the buffer memory 34 after the process start notification from the buffer memory 30 is input, and the process completion notification is output to the buffer memory 30 after the process completion notification from the buffer memory 34 is input. Thus, the possibility of sound drop-out can be reduced.

In the present embodiment, because the process start notification and the process completion notification are output in parallel, the output timing of the process completion notification is shortened as compared to the related art, which consequently allows for a margin in the processing time and avoidance of data insufficiency at the final stage of the process. On the other hand, the data is accumulated in order to output the process start notification and the process completion notification in parallel to each other, and thus, it takes time for the data to reach the final stage of the process, which results in a possibility of slight increase in latency (delay of sound). Therefore, it is also desirable to allow arbitrary selection between the processing method of the related art and the processing method of the present embodiment, to process the signals with the processing method of the related art when the latency is of more importance, and to process the signals with the processing method of the present embodiment when prevention of sound drop-out is of more importance. 

1. A control device comprising: an input/output unit that inputs and outputs a first audio signal of a first standard; a first processor that processes the first audio signal of the first standard; a second processor that processes a second audio signal of a second standard; a mixing processor that supplies the first audio signal which is input from the input/output unit to the first processor, receives the first audio signal processed by the first processor, receives the second audio signal processed by the second processor, produces a mixed audio signal by adding the received first audio signal and the received second audio signal, and outputs the mixed audio signal to the input/output unit; a first buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region; a second buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region; and a third buffer memory including a first memory region having an input region and an output region, and a second memory region having an input region and an output region, wherein at a certain control timing: the input/output unit outputs, when the first audio signal is input to the input region of the first region of the first buffer memory, a process start notification to the mixing processor, and stores, in the input region of the second region of the second buffer memory, the first audio signal stored in the input region of the first region of the first buffer memory; the mixing processor outputs, when the first audio signal is input to the input region of the second region of the second buffer memory, a process start notification to the first processor, and stores, in the input region of the first region of the third buffer memory, the first audio signal stored in the input region of the first region of the second buffer memory, and, in parallel to this process, outputs a process completion notification to the input/output unit, and stores, in the output region of the first region of the first buffer memory, the processed first audio signal stored in the output region of the second region of the second buffer memory; and the first processor processes the first audio signal when the first audio signal is input to the input region of the first region of the third buffer memory, stores the resulting signal in the output region of the first region of the third buffer memory, outputs a process completion notification to the mixing processor, and stores, in the output region of the first region of the second buffer memory, the processed first audio signal stored in the output region of the first region of the third buffer memory, and at a next control timing: the input/output unit outputs, when the first audio signal is input to the input region of the second region of the first buffer memory, a process start notification to the mixing processor, and stores, in the input region of the first region of the second buffer memory, the first audio signal stored in the input region of the second region of the first buffer memory; the mixing processor outputs, when the first audio signal is input to the input region of the first region of the second buffer memory, a process start notification to the first processor, and stores, in the input region of the second region of the third buffer memory, the first audio signal stored in the input region of the second region of the second buffer memory, and, in parallel to this process, outputs a process completion notification to the input/output unit, and stores, in the output region of the second region of the first buffer memory, the processed first audio signal stored in the output region of the first region of the second buffer memory; and the first processor processes the first audio signal when the first audio signal is input to the input region of the second region of the third buffer memory, stores the resulting signal in the output region of the second region of the third buffer memory, outputs a process completion notification to the mixing processor, and stores, in the output region of the second region of the second buffer memory, the processed first audio signal stored in the output region of the second region of the third buffer memory.
 2. The control device according to claim 1, wherein the first processor applies an effect process on the first audio signal, and the second processor reproduces the second audio signal.
 3. The control device according to claim 1, wherein the first standard is ASIO (Audio Stream Input Output) standard and the first audio signal is an ASIO audio signal, and the second standard is WDM (Windows Driver Model) standard and the second audio signal is a WDM audio signal.
 4. The control device according to claim 1, wherein the first processor, the second processor, and the mixing processor are one or more processors. 